﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BasicData.ErrorCode
{
    /// <summary>
    /// 公共相应包装类
    /// </summary>
    public class ApiResult<T>
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public ApiEnums Code { get; set; }
        /// <summary>
        /// 响应消息
        /// </summary>
        public string? Msg { get; set; }
        /// <summary>
        /// 响应数据
        /// </summary>
        public T? Data { get; set; }
    }
}
